#hisi_v500 系列
set(tools /opt/arm-hisiv500-linux)
set(CMAKE_C_COMPILER ${tools}/bin/arm-hisiv500-linux-uclibcgnueabi-gcc)
set(CMAKE_CXX_COMPILER ${tools}/bin/arm-hisiv500-linux-uclibcgnueabi-g++)

add_definitions(-DLOCALE_NOT_USED)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)